package geez.widget;

import com.google.gwt.user.client.ui.Hidden;
import static geez.widget.Geez.withStyle;

public class GHidden extends Hidden {

    public GHidden() {
    }

    public GHidden(String name) {
        super(name);
    }

    public GHidden(String name, String value) {
        super(name, value);
    }

    public GHidden id(String id) {
        setID(id);
        return this;
    }

    public GHidden css(String cssClass, String... optionalClasses) {
        withStyle(this, cssClass, optionalClasses);
        return this;
    }

    public GHidden name(String name) {
        setName(name);
        return this;
    }

    public GHidden defaultValue(String value) {
        setDefaultValue(value);
        return this;
    }

    public GHidden value(String value) {
        setValue(value);
        return this;
    }
}